package com.flyoil.petromp.base;

import com.flyoil.petromp.apiservice.HttpModel;
import com.flyoil.petromp.mvp_p.Listener.OnPresenterListener;

import java.util.Map;

/**
 * Created by songzhiyin on 2017/10/31.
 * APP中MVP模式的model的基类
 */

public interface BaseModel {
    HttpModel httpModel = new HttpModel();

    /**
     * 加载网络数据数据的方法
     *
     * @param listener
     */
    void loadNetworkData(Map<String, Object> map,final OnPresenterListener listener);
}
